package com.cande.loki.test;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Description 活动关联菜品
 * @Author wgf
 * @Date 2025/1/6 7:35 PM
 */
@Data
public class DishItemVo implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 菜品名称
     */
    @NotBlank(message = "菜品名称不能为空")
    private String dishName;

    /**
     * 菜品图片
     */
    @NotBlank(message = "菜品图片不能为空")
    private String dishPic;

    /**
     * 投票数
     */
    private Integer voteCount;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDishName() {
        return dishName;
    }

    public void setDishName(String dishName) {
        this.dishName = dishName;
    }

    public String getDishPic() {
        return dishPic;
    }

    public void setDishPic(String dishPic) {
        this.dishPic = dishPic;
    }

    public Integer getVoteCount() {
        return voteCount;
    }

    public void setVoteCount(Integer voteCount) {
        this.voteCount = voteCount;
    }
}
